Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synce changes from eastic/beats#26879 #1740

Closed
wants to merge 2 commits into from

Conversation

legoguy1000
Copy link
Contributor

What does this PR do?

Syncs the changes from elastic/beats#26879

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • If I'm introducing a new feature, I have modified the Kibana version constraint in my package's manifest.yml file to point to the latest Elastic stack release (e.g. ^7.13.0).

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Screenshots

@legoguy1000 legoguy1000 marked this pull request as ready for review September 18, 2021 21:36
@elasticmachine
Copy link

elasticmachine commented Sep 18, 2021

💔 Build Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2021-09-20T12:16:24.779+0000

  • Duration: 11 min 11 sec

  • Commit: ca25f77

Trends 🧪

Image of Build Times

Steps errors 5

Expand to view the steps failures

Boot up the Elastic stack
  • Took 2 min 50 sec . View more details here
  • Description: ../../build/elastic-package stack up -d -v --version 7.16.0-SNAPSHOT
Collect internal fleet-server logs
  • Took 0 min 0 sec . View more details here
  • Description: docker exec -t elastic-package-stack_fleet-server_1 sh -c "find data/logs/default/fleet-server-json* -printf '%p\n' -exec cat {} \;" > build/elastic-stack-dump/cisco_asa/logs/fleet-server-internal.log
Boot up the Elastic stack
  • Took 2 min 50 sec . View more details here
  • Description: ../../build/elastic-package stack up -d -v --version 7.16.0-SNAPSHOT
Collect internal fleet-server logs
  • Took 0 min 0 sec . View more details here
  • Description: docker exec -t elastic-package-stack_fleet-server_1 sh -c "find data/logs/default/fleet-server-json* -printf '%p\n' -exec cat {} \;" > build/elastic-stack-dump/cisco_ftd/logs/fleet-server-internal.log
Google Storage Download
  • Took 0 min 0 sec . View more details here

Log output

Expand to view the last 100 lines of log output

[2021-09-20T12:27:26.641Z] 
Creating elastic-package-stack_kibana_is_ready_1           ... done

Creating elastic-package-stack_fleet-server_1              ... done
Creating elastic-package-stack_fleet-server_is_ready_1     ... 
[2021-09-20T12:27:26.641Z] 
Creating elastic-package-stack_fleet-server_is_ready_1     ... done
[2021-09-20T12:27:26.641Z] ERROR: for elastic-agent  Container "44e0755fe3a5" is unhealthy.
[2021-09-20T12:27:26.641Z] Encountered errors while bringing up the project.
[2021-09-20T12:27:26.641Z] Error: booting up the stack failed: running docker-compose failed: running command failed: running Docker Compose up command failed: exit status 1
[2021-09-20T12:27:26.680Z] Running in /var/lib/jenkins/workspace/est-manager_integrations_PR-1740/src/github.com/elastic/integrations
[2021-09-20T12:27:26.701Z] Archiving artifacts
[2021-09-20T12:27:27.446Z] ‘build/test-results/*.xml’ doesn’t match anything: ‘build’ exists but not ‘build/test-results/*.xml’
[2021-09-20T12:27:27.446Z] No artifacts found that match the file pattern "build/test-results/*.xml". Configuration error?
[2021-09-20T12:27:27.459Z] Recording test results
[2021-09-20T12:27:27.828Z] None of the test reports contained any result
[2021-09-20T12:27:27.828Z] [Checks API] No suitable checks publisher found.
[2021-09-20T12:27:28.131Z] + build/elastic-package stack dump -v --output build/elastic-stack-dump/cisco_asa
[2021-09-20T12:27:28.131Z] 2021/09/20 12:27:27  WARN CommitHash is undefined, in both /var/lib/jenkins/workspace/est-manager_integrations_PR-1740/.elastic-package/version and the compiled binary, config may be out of date.
[2021-09-20T12:27:28.131Z] 2021/09/20 12:27:27 DEBUG Enable verbose logging
[2021-09-20T12:27:28.131Z] 2021/09/20 12:27:27 DEBUG Distribution built without a version tag, can't determine release chronology. Please consider using official releases at https://github.com/elastic/elastic-package/releases
[2021-09-20T12:27:28.131Z] 2021/09/20 12:27:27 DEBUG Dump Elastic stack data
[2021-09-20T12:27:28.131Z] 2021/09/20 12:27:27 DEBUG Dump stack logs (location: build/elastic-stack-dump/cisco_asa)
[2021-09-20T12:27:28.131Z] 2021/09/20 12:27:27 DEBUG Dump stack logs for elasticsearch
[2021-09-20T12:27:28.131Z] 2021/09/20 12:27:27 DEBUG running command: /usr/local/bin/docker-compose -f /var/lib/jenkins/workspace/est-manager_integrations_PR-1740/.elastic-package/profiles/default/stack/snapshot.yml -p elastic-package-stack logs elasticsearch
[2021-09-20T12:27:28.193Z] 
Creating elastic-package-stack_kibana_is_ready_1           ... done

Creating elastic-package-stack_fleet-server_1              ... done
Creating elastic-package-stack_fleet-server_is_ready_1     ... 
[2021-09-20T12:27:28.193Z] 
Creating elastic-package-stack_fleet-server_is_ready_1     ... done
[2021-09-20T12:27:28.193Z] ERROR: for elastic-agent  Container "0fe4d2fa1fc9" is unhealthy.
[2021-09-20T12:27:28.193Z] Encountered errors while bringing up the project.
[2021-09-20T12:27:28.193Z] Error: booting up the stack failed: running docker-compose failed: running command failed: running Docker Compose up command failed: exit status 1
[2021-09-20T12:27:28.265Z] Running in /var/lib/jenkins/workspace/est-manager_integrations_PR-1740/src/github.com/elastic/integrations
[2021-09-20T12:27:28.292Z] Archiving artifacts
[2021-09-20T12:27:28.889Z] ‘build/test-results/*.xml’ doesn’t match anything: ‘build’ exists but not ‘build/test-results/*.xml’
[2021-09-20T12:27:28.889Z] No artifacts found that match the file pattern "build/test-results/*.xml". Configuration error?
[2021-09-20T12:27:28.902Z] Recording test results
[2021-09-20T12:27:29.082Z] 2021/09/20 12:27:28 DEBUG Dump stack logs for elastic-agent
[2021-09-20T12:27:29.082Z] 2021/09/20 12:27:28 DEBUG running command: /usr/local/bin/docker-compose -f /var/lib/jenkins/workspace/est-manager_integrations_PR-1740/.elastic-package/profiles/default/stack/snapshot.yml -p elastic-package-stack logs elastic-agent
[2021-09-20T12:27:29.252Z] None of the test reports contained any result
[2021-09-20T12:27:29.252Z] [Checks API] No suitable checks publisher found.
[2021-09-20T12:27:29.549Z] + build/elastic-package stack dump -v --output build/elastic-stack-dump/cisco_ftd
[2021-09-20T12:27:29.550Z] 2021/09/20 12:27:29  WARN CommitHash is undefined, in both /var/lib/jenkins/workspace/est-manager_integrations_PR-1740/.elastic-package/version and the compiled binary, config may be out of date.
[2021-09-20T12:27:29.550Z] 2021/09/20 12:27:29 DEBUG Enable verbose logging
[2021-09-20T12:27:29.550Z] 2021/09/20 12:27:29 DEBUG Distribution built without a version tag, can't determine release chronology. Please consider using official releases at https://github.com/elastic/elastic-package/releases
[2021-09-20T12:27:29.550Z] 2021/09/20 12:27:29 DEBUG Dump Elastic stack data
[2021-09-20T12:27:29.550Z] 2021/09/20 12:27:29 DEBUG Dump stack logs (location: build/elastic-stack-dump/cisco_ftd)
[2021-09-20T12:27:29.550Z] 2021/09/20 12:27:29 DEBUG Dump stack logs for elasticsearch
[2021-09-20T12:27:29.550Z] 2021/09/20 12:27:29 DEBUG running command: /usr/local/bin/docker-compose -f /var/lib/jenkins/workspace/est-manager_integrations_PR-1740/.elastic-package/profiles/default/stack/snapshot.yml -p elastic-package-stack logs elasticsearch
[2021-09-20T12:27:29.662Z] 2021/09/20 12:27:29 DEBUG Dump stack logs for fleet-server
[2021-09-20T12:27:29.662Z] 2021/09/20 12:27:29 DEBUG running command: /usr/local/bin/docker-compose -f /var/lib/jenkins/workspace/est-manager_integrations_PR-1740/.elastic-package/profiles/default/stack/snapshot.yml -p elastic-package-stack logs fleet-server
[2021-09-20T12:27:30.493Z] 2021/09/20 12:27:30 DEBUG Dump stack logs for elastic-agent
[2021-09-20T12:27:30.493Z] 2021/09/20 12:27:30 DEBUG running command: /usr/local/bin/docker-compose -f /var/lib/jenkins/workspace/est-manager_integrations_PR-1740/.elastic-package/profiles/default/stack/snapshot.yml -p elastic-package-stack logs elastic-agent
[2021-09-20T12:27:30.604Z] 2021/09/20 12:27:30 DEBUG output command: /usr/bin/docker exec -t elastic-package-stack_fleet-server_1 sh -c find data/logs/default/fleet-server-json* -printf '%p\n' -exec cat {} \;
[2021-09-20T12:27:30.986Z] 2021/09/20 12:27:30 ERROR can't fetch internal logs (service: fleet-server): docker exec failed: exec failed (stderr="Error response from daemon: Container 44e0755fe3a5b058fd37687290b60e42d55d7519a6b570f722d33da6953134b2 is not running\n"): exit status 1
[2021-09-20T12:27:30.986Z] 2021/09/20 12:27:30 DEBUG Dump stack logs for kibana
[2021-09-20T12:27:30.986Z] 2021/09/20 12:27:30 DEBUG running command: /usr/local/bin/docker-compose -f /var/lib/jenkins/workspace/est-manager_integrations_PR-1740/.elastic-package/profiles/default/stack/snapshot.yml -p elastic-package-stack logs kibana
[2021-09-20T12:27:31.435Z] 2021/09/20 12:27:31 DEBUG Dump stack logs for fleet-server
[2021-09-20T12:27:31.435Z] 2021/09/20 12:27:31 DEBUG running command: /usr/local/bin/docker-compose -f /var/lib/jenkins/workspace/est-manager_integrations_PR-1740/.elastic-package/profiles/default/stack/snapshot.yml -p elastic-package-stack logs fleet-server
[2021-09-20T12:27:31.557Z] 2021/09/20 12:27:31 DEBUG Dump stack logs for package-registry
[2021-09-20T12:27:31.557Z] 2021/09/20 12:27:31 DEBUG running command: /usr/local/bin/docker-compose -f /var/lib/jenkins/workspace/est-manager_integrations_PR-1740/.elastic-package/profiles/default/stack/snapshot.yml -p elastic-package-stack logs package-registry
[2021-09-20T12:27:32.008Z] 2021/09/20 12:27:32 DEBUG output command: /usr/bin/docker exec -t elastic-package-stack_fleet-server_1 sh -c find data/logs/default/fleet-server-json* -printf '%p\n' -exec cat {} \;
[2021-09-20T12:27:32.272Z] 2021/09/20 12:27:32 ERROR can't fetch internal logs (service: fleet-server): docker exec failed: exec failed (stderr="Error response from daemon: Container 0fe4d2fa1fc9d1d699e23b6bc56b3fdc9d90b82a972f08712418d5cd4b02f97a is not running\n"): exit status 1
[2021-09-20T12:27:32.272Z] 2021/09/20 12:27:32 DEBUG Dump stack logs for kibana
[2021-09-20T12:27:32.272Z] 2021/09/20 12:27:32 DEBUG running command: /usr/local/bin/docker-compose -f /var/lib/jenkins/workspace/est-manager_integrations_PR-1740/.elastic-package/profiles/default/stack/snapshot.yml -p elastic-package-stack logs kibana
[2021-09-20T12:27:32.501Z] Path to stack dump: build/elastic-stack-dump/cisco_asa
[2021-09-20T12:27:32.501Z] Done
[2021-09-20T12:27:32.824Z] + docker exec -t elastic-package-stack_fleet-server_1 sh -c find data/logs/default/fleet-server-json* -printf '%p\n' -exec cat {} \;
[2021-09-20T12:27:32.824Z] Error response from daemon: Container 44e0755fe3a5b058fd37687290b60e42d55d7519a6b570f722d33da6953134b2 is not running
[2021-09-20T12:27:32.881Z] Failed in branch cisco_asa
[2021-09-20T12:27:33.146Z] Terminated
[2021-09-20T12:27:33.165Z] Terminated
[2021-09-20T12:27:33.220Z] 2021/09/20 12:27:32 DEBUG Dump stack logs for package-registry
[2021-09-20T12:27:33.220Z] 2021/09/20 12:27:32 DEBUG running command: /usr/local/bin/docker-compose -f /var/lib/jenkins/workspace/est-manager_integrations_PR-1740/.elastic-package/profiles/default/stack/snapshot.yml -p elastic-package-stack logs package-registry
[2021-09-20T12:27:34.162Z] Path to stack dump: build/elastic-stack-dump/cisco_ftd
[2021-09-20T12:27:34.162Z] Done
[2021-09-20T12:27:34.473Z] + docker exec -t elastic-package-stack_fleet-server_1 sh -c find data/logs/default/fleet-server-json* -printf '%p\n' -exec cat {} \;
[2021-09-20T12:27:34.473Z] Error response from daemon: Container 0fe4d2fa1fc9d1d699e23b6bc56b3fdc9d90b82a972f08712418d5cd4b02f97a is not running
[2021-09-20T12:27:34.536Z] Failed in branch cisco_ftd
[2021-09-20T12:27:34.647Z] Running in /var/lib/jenkins/workspace/est-manager_integrations_PR-1740/src/github.com/elastic/integrations
[2021-09-20T12:27:34.794Z] Error when executing always post condition:
[2021-09-20T12:27:34.795Z] java.lang.NullPointerException
[2021-09-20T12:27:34.795Z] 	at com.google.jenkins.plugins.storage.DownloadStep.resolveBucketPath(DownloadStep.java:445)
[2021-09-20T12:27:34.795Z] 	at com.google.jenkins.plugins.storage.DownloadStep.perform(DownloadStep.java:210)
[2021-09-20T12:27:34.795Z] 	at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:123)
[2021-09-20T12:27:34.795Z] 	at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:99)
[2021-09-20T12:27:34.795Z] 	at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:69)
[2021-09-20T12:27:34.795Z] 	at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
[2021-09-20T12:27:34.795Z] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[2021-09-20T12:27:34.795Z] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[2021-09-20T12:27:34.795Z] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[2021-09-20T12:27:34.795Z] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[2021-09-20T12:27:34.795Z] 	at java.lang.Thread.run(Thread.java:748)
[2021-09-20T12:27:34.795Z] 
[2021-09-20T12:27:34.842Z] Terminated
[2021-09-20T12:27:34.896Z] Terminated
[2021-09-20T12:27:35.194Z] Running on worker-395930 in /var/lib/jenkins/workspace/est-manager_integrations_PR-1740
[2021-09-20T12:27:35.338Z] [INFO] getVaultSecret: Getting secrets
[2021-09-20T12:27:35.393Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-09-20T12:27:37.626Z] + chmod 755 generate-build-data.sh
[2021-09-20T12:27:37.626Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Ingest-manager/integrations/PR-1740/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Ingest-manager/integrations/PR-1740/runs/5 FAILURE 671189
[2021-09-20T12:27:37.626Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Ingest-manager/integrations/PR-1740/runs/5/steps/?limit=10000 -o steps-info.json
[2021-09-20T12:27:41.851Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Ingest-manager/integrations/PR-1740/runs/5/tests/?status=FAILED -o tests-errors.json
[2021-09-20T12:27:42.557Z] Retry 1/3 exited 22, retrying in 1 seconds...
[2021-09-20T12:27:44.027Z] Retry 2/3 exited 22, retrying in 2 seconds...
[2021-09-20T12:27:46.323Z] Retry 3/3 exited 22, no more retries left.
[2021-09-20T12:27:46.323Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Ingest-manager/integrations/PR-1740/runs/5/log/ -o pipeline-log.txt

@P1llus
Copy link
Member

P1llus commented Sep 20, 2021

/test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants